]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Use addChrome instead of addTopChrome for screenShieldGroup
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 4 Jun 2019 18:55:29 +0000 (20:55 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 21 Jun 2019 20:57:23 +0000 (20:57 +0000)
Make sure the panel is visible above the login and screen shield actors
by adding the screenShieldGroup to the uiGroup underneath the panelBox.

This fixes a regression introduced with 2bd80579eddba9804871ce6c8de742bdf9b1d800

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1330
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/571

js/ui/layout.js

index 90385e82cb2c751b52094b138f9cc5185abccf62..538c24e7399cdb726b956f11e9fc08d5a5934c6e 100644 (file)
@@ -239,7 +239,7 @@ var LayoutManager = GObject.registerClass({
                                                  clip_to_allocation: true,
                                                  layout_manager: new Clutter.BinLayout(),
                                                });
-        this.addTopChrome(this.screenShieldGroup);
+        this.addChrome(this.screenShieldGroup);
 
         this.panelBox = new St.BoxLayout({ name: 'panelBox',
                                            vertical: true });